<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}"/>
<title>{{ trans('messages.systemName')}}</title>

<!-- SSLの場合 -->
@if(app('env')=='production')
<script src="{{ secure_asset('/js/home.js') }}"></script>
<script src="{{ secure_asset('/js/jquery-3.3.1.min.js') }}"></script>
<script src="{{ asset('/js/jquery.validate.js') }}"></script>
<script src="{{ secure_asset('/js/moment.min.js') }}"></script>
<script src="{{ secure_asset('/bootstrap/js/bootstrap.js') }}"></script>
<script src="{{ secure_asset('/bootstrap/js/bootstrap-datetimepicker.min.js') }}"></script>
<script src="{{ secure_asset('/js/waitMe.min.js') }}"></script>
<script src="{{ secure_asset('/js/sweetalert2.min.js') }}"></script>
<script src="{{ secure_asset('/layer/layer.js') }}"></script>
<link rel="stylesheet" href="{{ secure_asset('/css/pure-min.css') }}">
<link rel="stylesheet" href="{{ secure_asset('/bootstrap/css/bootstrap.css') }}">
<link rel="stylesheet" href="{{ secure_asset('/bootstrap/css/bootstrap-datetimepicker.min.css') }}">
<link rel="stylesheet" href="{{ secure_asset('/css/font-awesome.min.css') }}">
<link rel="stylesheet" href="{{ secure_asset('/css/waitMe.min.css') }}">
<link rel="stylesheet" href="{{ secure_asset('/css/sweetalert2.min.css') }}">
<link rel="stylesheet" href="{{ secure_asset('/css/main.css') }}">
<link rel="stylesheet" href="{{ secure_asset('/css/shenyang.css') }}">

@else
<!-- SSLではない場合 -->
<script src="{{ asset('/js/jquery-3.3.1.min.js') }}"></script>
<script src="{{ asset('/js/jquery.validate.js') }}"></script>
<script src="{{ asset('/js/moment.min.js') }}"></script>
<script src="{{ asset('/bootstrap/js/bootstrap.js') }}"></script>
<script src="{{ asset('/bootstrap/js/bootstrap-datetimepicker.min.js') }}"></script>
<script src="{{ asset('/js/waitMe.min.js') }}"></script>
<script src="{{ asset('/js/sweetalert2.min.js') }}"></script>
<script src="{{ asset('/js/home.js') }}"></script>
<script src="{{ asset('/layer/layer.js') }}"></script>
<link rel="stylesheet" href="{{ asset('/css/pure-min.css') }}">
<link rel="stylesheet" href="{{ asset('/bootstrap/css/bootstrap.css') }}">
<link rel="stylesheet" href="{{ asset('/bootstrap/css/bootstrap-datetimepicker.min.css') }}">
<link rel="stylesheet" href="{{ asset('/css/font-awesome.min.css') }}">
<link rel="stylesheet" href="{{ asset('/css/waitMe.min.css') }}">
<link rel="stylesheet" href="{{ asset('/css/sweetalert2.min.css') }}">
<link rel="stylesheet" href="{{ asset('/css/main.css') }}">
<link rel="stylesheet" href="{{ asset('/css/shenyang.css') }}">
@endif
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script>
    $.ajaxSetup({
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        }
    });
</script>
</head>

<body>
	<div id="body_container" class="body_container">
		<div id="common_layout">
		@include('layouts.system_title')
		</div>
		<div class="common_admin_container">
		<!--  継承Layout -->
			@yield('content')
		</div>
	<div id="loading_view"></div>
	</div>
</body>
</html>
